//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamsDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamsService;
//import com.rt.schedulebase.entity.Exams;
//import com.rt.schedulebase.mapper.ExamsMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamsServiceImpl extends ServiceImpl<ExamsMapper, Exams> implements IExamsService
//{
//@Override
//    public boolean insertSelective(final Exams exams) {
//        return this.retBool(Integer.valueOf(((ExamsMapper)this.baseMapper).insert(exams)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamsMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final Exams exams) {
//        return this.retBool(Integer.valueOf(((ExamsMapper)this.baseMapper).updateById(exams)));
//    }
//
//@Override
//    public Exams selectByPrimaryKey(final String key) {
//        return (Exams)((ExamsMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<Exams> getList(final ExamsDto dto) {
//        final QueryWrapper<Exams> qw = (QueryWrapper<Exams>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("EXAM_NO", dto.getExamNo());
//        qw.allEq((Map)map, false);
//        final List<Exams> list = (List<Exams>)((ExamsMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<Exams> getListAll() {
//        return (List<Exams>)((ExamsMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final Exams exams) {
//        final UpdateWrapper<Exams> uw = (UpdateWrapper<Exams>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamsMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final Exams exams) {
//        final UpdateWrapper<Exams> uw = (UpdateWrapper<Exams>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", exams.getApplyNo());
//        map.put("EXAM_NO", exams.getExamNo());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamsMapper)this.baseMapper).update(exams, (Wrapper)uw)));
//    }
//
//@Override
//    public Exams getInfo(final ExamsDto dto) {
//        final QueryWrapper<Exams> qw = (QueryWrapper<Exams>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("EXAM_NO", dto.getExamNo());
//        qw.allEq((Map)map, false);
//        return (Exams)((ExamsMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
